
package net.swa.dewei.service;

import java.util.List;
import java.util.Map;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import net.swa.dewei.beans.entity.FuwuZhan;
import net.swa.dewei.beans.vo.ZTreeNode;

public interface FuwuZhanService
{

    FuwuZhan addFuwuzhanByUser(long id);

    FuwuZhan process(long id , Long long1);

    boolean saveModel(FuwuZhan model);

    /***
     * 保存服务站及其允许开店区域
     * @param model
     * @param areas
     * @return
     */
    boolean saveModelExt(FuwuZhan model , String areas,String codes);

    /***
     * 保存服务站及其允许开店区域
     * @param model
     * @param areas
     * @return
     */
    boolean updateModelExt(FuwuZhan model , String areas,String codes);

    boolean delete(Long[] ids);

    boolean batchUpdate(Long[] ids , String password);

    /***
     * 根据服务站id查询树节点
     * @param id
     * @return
     */
    List<ZTreeNode> queryTreeNodesJson(Long id);

    boolean updateJiebang(Long[] ids);

    /**条件导出服务站，现在只需导出全部**/
    HSSFWorkbook exportExcel(String name,String province , String city , String town);

    Map<String, Object> addExcel(String path , String errFilePath);

}
